import request from '@/utils/request'

// 查询优选签约列表
export function listForeclosed_house_signingorder(query) {
  return request({
    url: '/yipaiju/foreclosed_house_signingorder/list',
    method: 'get',
    params: query
  })
}

// 查询优选签约详细
export function getForeclosed_house_signingorder(id) {
  return request({
    url: '/yipaiju/foreclosed_house_signingorder/' + id,
    method: 'get'
  })
}

// 新增优选签约
export function addForeclosed_house_signingorder(data) {
  return request({
    url: '/yipaiju/foreclosed_house_signingorder',
    method: 'post',
    data: data
  })
}

// 修改优选签约
export function updateForeclosed_house_signingorder(data) {
  return request({
    url: '/yipaiju/foreclosed_house_signingorder',
    method: 'put',
    data: data
  })
}

// 删除优选签约
export function delForeclosed_house_signingorder(id) {
  return request({
    url: '/yipaiju/foreclosed_house_signingorder/' + id,
    method: 'delete'
  })
}
